import scala.collection.mutable.ListBuffer
import scala.io.StdIn
class Test {
  println("hello")
}
object Test {
  println("lala")
  def main(args: Array[String]): Unit = {
    val a = ListBuffer((7,7), (2, 5))
    val b = a.sortBy((x) => (x._2))
    println(a)
    println(b)
  }
}

